package org.idea.qiyu.framework.marketing.service.impl;

import org.idea.qiyu.framework.marketing.mapper.MarketingMapper;
import org.idea.qiyu.framework.marketing.model.Marketing;
import org.idea.qiyu.framework.marketing.service.IMarketingService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author linhao
 * @Date created in 6:56 下午 2021/7/23
 */
@Service
public class MarketingServiceImpl implements IMarketingService {

    @Resource
    private MarketingMapper marketingMapper;

    @Override
    public List<Marketing> selectAll(){
        return marketingMapper.selectAll();
    }

    @Override
    public List<Marketing> selectByMarketingIds(Integer marketingId){
        return marketingMapper.selectByMarketingIds(marketingId);
    }

}
